projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5133a57
)
(ENCODE_SYSTEM, DECODE_SYSTEM): Define also for non-NT.
author
Gerd Moellmann
<gerd@gnu.org>
Fri, 5 Oct 2001 09:44:02 +0000
(09:44 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Fri, 5 Oct 2001 09:44:02 +0000
(09:44 +0000)
src/coding.h
patch
|
blob
|
history
diff --git
a/src/coding.h
b/src/coding.h
index 2d514e3764082326b1a53ede1921acaae349e3ed..e3cab28806206f28fa1605ef62047a70d4d1caec 100644
(file)
--- a/
src/coding.h
+++ b/
src/coding.h
@@
-602,7
+602,13
@@
struct coding_system
&& XFASTINT (Vw32_system_coding_system) != 0 \
? code_convert_string_norecord (str, Vw32_system_coding_system, 0) \
: str)
-#endif
+
+#else /* WINDOWSNT */
+
+#define ENCODE_SYSTEM(str) string_make_unibyte(str)
+#define DECODE_SYSTEM(name) name
+
+#endif /* !WINDOWSNT */
/* Extern declarations. */
extern int decode_coding P_ ((struct coding_system *, unsigned char *,